import type { CommonNodeType, VarType, Variable } from '@/components/workflow/types'

export type OutputVar = Record<string, {
  type: VarType
  children: null // support nest in the future,
}>

export type HtmlExtractorNodeType = CommonNodeType & {
  url: string,
  selector: string,
  attribute?: string,
  text?: boolean,
  outputs: OutputVar,
}
